package com.lyf.scm.plan.domain.remote.item.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author 李兵兵
 * @date 2020/08/31
 */
@ApiModel("品类通用DTO")
@Data
public class CategoryDTO implements Serializable {
    @ApiModelProperty("主键id")
    private Long id;
    @ApiModelProperty("品类名称")
    private String name;
    @ApiModelProperty("品类code")
    private Long code;
    @ApiModelProperty("品类list")
    private List<CategoryDTO> categoryDTOList;
    @ApiModelProperty("从根节点到本类目的id")
    private String path;
}
